package shiyan1;

import java.util.Scanner;

public class Circle implements Shape{
    private double r;
    @Override
    public void calS() {
        System.out.println(r*r*3.14);
    }

    public Circle(double r) {
        this.r = r;
    }
}
